POV-Ray : Newsgroups : povray.unofficial.patches : How does pattern work? : How does pattern work? Server Time
2 Sep 2024 12:16:20 EDT (-0400)
  How does pattern work?  
From: Nieminen Juha
Date: 9 Jan 2000 10:31:07
Message: <3878a9bb@news.povray.org>
I was trying to create a heightfield from a bozo pattern (in megapov 0.3),
but it looks just plain horrible. What am I doing wrong?

camera { location -z*5*2 look_at 0 angle 35 }
light_source { <100,100,-20>, 1 }

height_field
{ pattern 20,20
  { hf_gray_16
    bozo color_map { [0 rgb 0][1 rgb 1] } scale .1
  }
  smooth
  scale <5, 3.8+2, .1> translate -<2.5,2,0> 
  
  pigment { rgb x }
  finish { specular .5 }
  rotate x*60
}


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.